#pragma once

#include "CTileManager.h"
#include <vector>
using namespace std;

class CWaypoint;
class CSpawnPoint;
class CTerritory;

class CLevel
{
	vector<CWaypoint*> m_vecWaypoints;
	vector<CSpawnPoint*> m_vecSpawnpoints;
	vector<CTerritory*> m_vecTerritories;
	int m_nBGMusic;
	float m_fTimer;
	int m_nScore;

public:

	CLevel();
	~CLevel();

	void Enter(char* szFileName);
	void Clear();
	void Update(float fDelta);
	void Render();
	void Exit();
	void AddWayPoint(CWaypoint* pWaypoint);
	void RemoveWayPoint(CWaypoint* pWaypoint);
	void AddSpawnPoint(CSpawnPoint* pSpawnpoint);
	void RemoveSpawnPoint(CSpawnPoint* pSpawnpoint);
	void AddTerritory(CTerritory* pTerritory);
	void RemoveTerritory(CTerritory* pTerritory);
};